SERVER_PORT = 8999
SECRET_KEY = 'fljgklajdglkajgkljaglka'
JSON_AS_ASCII = False
HOST = '0.0.0.0'
DOMAIN = "https://" + "www.yosuzu.top"
DEBUG = True
SQLALCHEMY_ECHO = True
SQLALCHEMY_DATABASE_URI = 'mysql://yosuzu:20030711tan@127.0.0.1/wechat?charset=utf8'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ENCODING = "utf8"

MINI_APP = {
    "appid": "wxaa7162faa96458f4",
    "appkey": "d0ee057403183d9be646728a7a340643",
}


DEFAULT_AVATAR = DOMAIN + "/static/images/common/group.png"
USER_AVATAR_PATH = '/static/images/user_avatar/'
GROUP_AVATAR_PATH = '/static/images/group_avatar/'

# 头像保存路径
USER_AVATAR_SAVE_PATH = '/web/static/images/user_avatar/'
GROUP_AVATAR_SAVE_PATH = '/web/static/images/group_avatar/'

# 头像大小限制
MAX_AVATAR_SIZE = 1024 * 1024 * 4
